//
//  NSDate+calendar.h
//  dd
//
//  Created by hanweiguang on 2019/2/11.
//  Copyright © 2019年 hanweiguang. All rights reserved.
//


#import <Foundation/Foundation.h>

@interface NSDate (calendar)
- (NSDateComponents *)deltaFrom:(NSDate *)from;
- (BOOL)isThisYear;
- (BOOL)isToday;
- (BOOL)isYesterday;
@end
